package com.example.teesystem.service;

import com.example.teesystem.entity.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.entity.vo.*;
import com.example.teesystem.entity.vo.chapter.*;

import java.util.List;

/**
* @author 28131
* @description 针对表【t_chapter】的数据库操作Service
* @createDate 2022-03-25 08:22:18
*/
public interface ChapterService extends IService<Chapter> {
    
    boolean add(ChapterUploadVo chapterUploadVo);
    
    boolean update(ChapterUpdateVo chapterUpdateVo);
    
    PageResponseVo<ChapterResponseVo> getChapters(ChapterSelectVo chapterSelectVo);
    
//    boolean addChapters(List<ChapterUploadVo> chapterUploadVos);
    
    boolean delete(ChapterDeleteVo chapterDeleteVo);
    
}
